/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package lu.med.praxiswahl.wahlumed.model.beans;

import java.io.Serializable;
import java.util.Calendar;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;

/**
 * 
 * @author pkendzo
 */
@Entity
@Table(name = "PRAXIS_ACCOUNTS")
public class AccountingTBL implements Serializable {

	private static final long serialVersionUID = 1L;

	@Id
	private String Login;

	private String Password;

	@Column(name = "ONLINE")
	private Boolean online;

	@Column(name = "LASTLOGGED")
	@Temporal(javax.persistence.TemporalType.TIMESTAMP)
	private Calendar lastLogInTime;

	private boolean Role_CustomerTAB;
	private boolean Role_BillsTAB;
	private boolean Role_OPBillsTAB;
	private boolean Role_RemindersTAB;
	private boolean Role_ZytologyTAB;
	private boolean Role_OrdonanceTAB;
	private boolean Role_DoctorLetterTAB;
	private boolean Role_CalendarTAB;
	private boolean Role_GravTestTAB;
	private boolean Role_LaborbookTAB;
	private boolean Role_InternAnaTAB;
	private boolean Role_DeliveriesTAB;
	private boolean Admin;
	private boolean Role_tarife;
	private boolean Role_DoctorsDB;
	private boolean Role_ZytoZettelTAB;
	private boolean Role_CashBookTAB;

	public AccountingTBL() {

	}

	public String getLogin() {
		return Login;
	}

	public void setLogin(String login) {
		Login = login;
	}

	public String getPassword() {
		return Password;
	}

	public void setPassword(String password) {
		Password = password;
	}

	public static long getSerialVersionUID() {
		return serialVersionUID;
	}

	public boolean isRole_CustomerTAB() {
		return Role_CustomerTAB;
	}

	public void setRole_CustomerTAB(boolean role_CustomerTAB) {
		Role_CustomerTAB = role_CustomerTAB;
	}

	public boolean isRole_BillsTAB() {
		return Role_BillsTAB;
	}

	public void setRole_BillsTAB(boolean role_BillsTAB) {
		Role_BillsTAB = role_BillsTAB;
	}

	public boolean isRole_OPBillsTAB() {
		return Role_OPBillsTAB;
	}

	public void setRole_OPBillsTAB(boolean role_OPBillsTAB) {
		Role_OPBillsTAB = role_OPBillsTAB;
	}

	public boolean isRole_RemindersTAB() {
		return Role_RemindersTAB;
	}

	public void setRole_RemindersTAB(boolean role_RemindersTAB) {
		Role_RemindersTAB = role_RemindersTAB;
	}

	public boolean isRole_ZytologyTAB() {
		return Role_ZytologyTAB;
	}

	public void setRole_ZytologyTAB(boolean role_ZytologyTAB) {
		Role_ZytologyTAB = role_ZytologyTAB;
	}

	public boolean isRole_OrdonanceTAB() {
		return Role_OrdonanceTAB;
	}

	public void setRole_OrdonanceTAB(boolean role_OrdonanceTAB) {
		Role_OrdonanceTAB = role_OrdonanceTAB;
	}

	public boolean isRole_DoctorLetterTAB() {
		return Role_DoctorLetterTAB;
	}

	public void setRole_DoctorLetterTAB(boolean role_DoctorLetterTAB) {
		Role_DoctorLetterTAB = role_DoctorLetterTAB;
	}

	public boolean isRole_CalendarTAB() {
		return Role_CalendarTAB;
	}

	public void setRole_CalendarTAB(boolean role_CalendarTAB) {
		Role_CalendarTAB = role_CalendarTAB;
	}

	public boolean isRole_GravTestTAB() {
		return Role_GravTestTAB;
	}

	public void setRole_GravTestTAB(boolean role_GravTestTAB) {
		Role_GravTestTAB = role_GravTestTAB;
	}

	public boolean isRole_LaborbookTAB() {
		return Role_LaborbookTAB;
	}

	public void setRole_LaborbookTAB(boolean role_LaborbookTAB) {
		Role_LaborbookTAB = role_LaborbookTAB;
	}

	public boolean isRole_InternAnaTAB() {
		return Role_InternAnaTAB;
	}

	public void setRole_InternAnaTAB(boolean role_InternAnaTAB) {
		Role_InternAnaTAB = role_InternAnaTAB;
	}

	public boolean isRole_DeliveriesTAB() {
		return Role_DeliveriesTAB;
	}

	public void setRole_DeliveriesTAB(boolean role_DeliveriesTAB) {
		Role_DeliveriesTAB = role_DeliveriesTAB;
	}

	public boolean isAdmin() {
		return Admin;
	}

	public void setAdmin(boolean admin) {
		Admin = admin;
	}

	public boolean isRole_tarife() {
		return Role_tarife;
	}

	public void setRole_tarife(boolean role_tarife) {
		Role_tarife = role_tarife;
	}

	public boolean isRole_DoctorsDB() {
		return Role_DoctorsDB;
	}

	public void setRole_DoctorsDB(boolean role_DoctorsDB) {
		Role_DoctorsDB = role_DoctorsDB;
	}

	public boolean isRole_ZytoZettelTAB() {
		return Role_ZytoZettelTAB;
	}

	public void setRole_ZytoZettelTAB(boolean role_ZytoZettelTAB) {
		Role_ZytoZettelTAB = role_ZytoZettelTAB;
	}

	public boolean isRole_CashBookTAB() {
		return Role_CashBookTAB;
	}

	/**
	 * @param roleCashBookTAB
	 *            the role_CashBookTAB to set
	 */
	public void setRole_CashBookTAB(boolean roleCashBookTAB) {
		Role_CashBookTAB = roleCashBookTAB;
	}

	public Boolean isOnline() {
		return online;
	}

	public void setOnline(Boolean online) {
		this.online = online;
	}

	public Calendar getLastLogInTime() {
		return lastLogInTime;
	}

	public void setLastLogInTime(Calendar lastLogInTime) {
		this.lastLogInTime = lastLogInTime;
	}

}
